
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>管理员添加的美食信息列表</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="__PUBLIC__/admin_style/assets/ico/favicon.html">
    <link href="__PUBLIC__/admin_style/assets/css/bootstrap.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/theme.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
   
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/admin_style/assets/img/logo.png" alt="Realm Admin Template">
          </div> 
          

          

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
     <include file="Public/menu"/>
      <!-- /Side menu -->

        <!-- Main window -->
    <div class="main_container" id="tables_page">
      <div class="row-fluid">
        <br>
        <h2 class="heading">
          管理员添加的美食信息列表      
        </h2>
      </div>

          <div class="row-fluid">
           <div class="widget widget-padding span12">
             
    <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>管理员添加的美食信息列表 </h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Documentation" class="tip" target="_blank"><i class="icon-external-link"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="foods" class="table table-striped table-bordered dataTable">
                <thead>
                 
                    <table class="table table-striped">
<tr>
  <th>序号</th>
  <th>图片</th>
  <th>美食名称</th>
  
  <th>美食类型</th>
  <th>发布时间</th>
  <th>操作</th>
  </tr>
  <volist name="foods" id="vo">
   <tr>
  <td>{$i}</td><!--显示序号-->
 <td><img src="__PUBLIC__/Uploads/foodphoto/{$vo.picture}" width="50"></td>
  <td>{$vo.foods_name}</td>
   <td>{$vo.tid} </td>
  <td>{$vo.uploaddate}</td>  
   <td>
   
                           <a href="__URL__/editfood/id/{$vo.id}"> 修改|</a> 
                         <a href="__URL__/detail/id/{$vo.id}"> 查看详细信息|</a> 
                        <a href="__URL__/delfoods/id/{$vo.id}" onclick="return confirm('你确定要删除吗？')"><i class="icon-remove"></i>删除</a>
                 


        
    </td>

  </tr>


                 </volist>
                </tbody>
              </table>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

    </div>
    <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->


    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='__PUBLIC__/admin_style/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='__PUBLIC__/admin_style/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='__PUBLIC__/admin_style/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='__PUBLIC__/admin_style/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/realm.js"></script>
  
<script type="text/javascript">
var oSelect=document.getElementByIdx_x_x("tid");
oSelect.onchange=function(){                                       //当选项改变时触发
var valOption=this.options[this.selectedIndex].value;//获取option的value
alert(valOption);
var txtOption=this.options[this.selectedIndex].innerHTML;//获取option中间的文本
alert(txtOption);
}
</script>
</body>
</html>
